package vision;

import scene.Facette3D;

/**
 * Class for unit tests of the package vision
 */
public class TestVision {
	public static void main(String[] args) {
		Facette3D fct = new Facette3D(new geometrie.Point(25, 30, 0),
				new geometrie.Point(50, 55, 0), new geometrie.Point(75, 80, 0));

		ImageFacette imgFct = new ImageFacette(fct, 0.5);
		print(imgFct.pixelVertex1);
		print(imgFct.pixelVertex2);
		print(imgFct.pixelVertex3);
		print(imgFct.getXPoints());
		print(imgFct.getYPoints());
	}

	private static void print(int[] v) {
		for (int i : v)
			System.out.print(i + " ");
		System.out.println();
	}

}
